package user;

import Ioperation.Ioperation;
import book.BookList;

public abstract class User {
    protected String name;
    protected Ioperation[] ioperations;

    public User(String name) {
        this.name = name;
    }

    public abstract int menu();


    public void doIoperation(BookList books, int pos){
        this.ioperations[pos].work(books);
    }
}
